from ftllibs.items.itemtools import ItemIconData

class Item_3173():
    def __init__(self):
        self.parent=False
        self.Name="Eleisa's Miracle"
        self.IconFileName="3173.png"
        self.ID=3173
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['3096','1004','1007']
        self.Builds_Into=[]
        self.Tags=['health_regen','mana_regen']
        self.Costs = 500
        self.Total_Costs = 1300
        self.Description="+25 Health Regen per 5 seconds +20 Mana Regen per 5 seconds  UNIQUE Passive: +35 Tenacity (Tenacity reduces the duration of stuns, slows, taunts, fears, silences, blinds and immobilizes. Does not stack with other Tenacity items.)"
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Health_Regen_per_5_seconds += 25.0
        self.parent.Mana_Regen_per_5_seconds += 20.0
        self.parent.Tenacity=True
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


